﻿namespace CatchBall
{
    using System;

    [Serializable]
    public class Accuracy
    {
        private readonly int shotsFired;
        private readonly int shotsHit;

        private int shotsFiredAverage; // TODO: never used

        private int shotsHitAverage; // TODO: never used

        public Accuracy(int shotsFired, int shotsHit)
        {
            this.shotsFired = shotsFired;

            this.shotsHit = shotsHit;
        }

        // too tired, will finish later
        public double GetAccuracy()
        {
            return this.shotsFired / this.shotsHit;
        }
    }
}
